package com.dao;

import com.entity.Working;

import java.util.List;

public interface WorkingMapper {
    //插入
    public int insert(Working working);
    //修改
    public int update(Working working);
    //删除
    public int delete(Integer id);
    //查看全部
    public List<Working> getAllWorking();
    //查看当前
    public Working getWorking(Integer id);
    //返回数据数量
    public int count();
    //查看该标题是否存在
    public int getTitleCount(String title);
}
